home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_5
/
stardate.lha
/
StarDate.rexx
< prev
Wrap
OS/2 REXX Batch file
|
1994-08-05
|
851b
|
37 lines
/* StarDate (starTrek) For MEBBSNet v0.155 and above */
parse arg LineNumber
signal on ERROR
options results
DoorName = "StarDate"
if( ~show( 'l', "mebbsarexx.library" ) )then do
say "Opening mebbsarexx.library"
if( ~addlib( "mebbsarexx.library", 0, -30, 0 ) )then do
say "Could not open library"
exit 10
end
end
string = ""
call output ; string = "StarDate Generator (c) Mikael Johansson Active/MEBBSNet Dev. M6005"
call output ; string = ""
call output ; string = "
StarDate
:
"trunc((date(basedate)-718067)*9.6+Time('m')/150,1)
call output ; string = "
"
call output
call HotKey DoorName,LineNumber,"Press any key "
call Exit_Door DoorName,LineNumber
exit 0
ERROR:
call Exit_Door DoorName,LineNumber
exit 10
output:
call message DoorName,LineNumber,string,1
return